﻿<meta charset="utf-8"/>
<?php 
session_start();
require "../config.php";
require "../database.php";
require "../user.php";
$user=new user();
$info=$user->showOne($_SESSION['ses_userid']);

?>
<form action="" method="post">
<fieldset>
	<legend>Thông tin thành viên</legend>
<table width="350" border="0">
  <tr>
    <td width="143">Tên đăng nhập</td>
    <td width="197"><input type="text" name="user" size="25" disabled value="<?php echo $info['user_name'] ?>" ></td>
  </tr>
  <tr>
    <td>Mật khẩu</td>
    <td><input type="password" name="pass" size="25" disabled value="<?php echo $info['user_pass'] ?>"></td>
  </tr>
  <tr>
    <td>Họ tên</td>
    <td><input type="text" name="fullname" size="25" disabled value="<?php echo $info['user_fullname'] ?>"></td>
  </tr>
  <tr>
    <td>Giới tính</td>
    <td>
    	<select disabled name="gender">
        	<option value="1" <?php if($info['user_gender']==1){echo "selected";}?>  >Nam</option>
            <option value="0" <?php if($info['user_gender']==0){echo "selected";} ?> >Nữ</option>
        </select>
    </td>
  </tr>
  <tr>
  </tr>
  <tr>
    <td>Số phone</td>
    <td><input type="text" name="phone" size="25" disabled value="<?php echo $info['user_phone'] ?>"/></td>
  </tr>
  <tr>
    <td>Email</td>
    <td><input type="text" name="email" size="25" disabled value="<?php echo $info['user_email'] ?>"/></td>
  </tr>
</table>
</fieldset>
</form>